package service;

import exception.ServiceException;
import vo.GoldPointsVo;

import java.util.Date;

public interface GoldPointsService {
//    为用户添加签到积分
    boolean addSignIn(Integer user_id, Date create_date) throws ServiceException;

    GoldPointsVo findFrontSumByUid(Integer user_id) throws ServiceException;

    boolean conversionGold(Integer user_id, Integer point_count) throws ServiceException;

    void updateGPInfoByUserId(int user_id,int resource_user_id, int cost_number,int cost_type) throws ServiceException;
}
